package com.lemurian.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

import org.hibernate.annotations.BatchSize;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.lemurian.entity.utils.DefaultPersistence;

@Entity
@Table(name="tb_bpn_region_list")
@Inheritance(strategy=InheritanceType.SINGLE_TABLE)
@BatchSize(size=1000)
@Cache(usage=CacheConcurrencyStrategy.READ_WRITE)
public class BPNRegionList extends DefaultPersistence implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private String reqionName;
	private String province;
	
	@Column(name="region_name", length=45)
	public String getReqionName() {
		return reqionName;
	}
	
	public void setReqionName(String reqionName) {
		this.reqionName = reqionName;
	}
	
	@Column(name="province", length=45)
	public String getProvince() {
		return province;
	}
	
	public void setProvince(String province) {
		this.province = province;
	}
	
}
